package top.hcode.hoj.pojo.entity.org;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (ty_org)表实体类
 *
 * @author orangej
 * @since 2025-01-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ty_org")
public class TyOrg implements Serializable {

    private static final long serialVersionUID = 7721536415L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    private String orgName;
    private Integer orgType;
    private String parentId;
    private String treeCode;
    private String displayOrder;

    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


    /*关联属性*/

}
